using Newtonsoft.Json;
/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "应收账款",TableName = "cw_yszk_view")]
    public partial class cw_yszk_view:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="id")]
       [JsonIgnore]
       [Column(TypeName="uniqueidentifier")]
       [Required(AllowEmptyStrings=false)]
       public Guid id { get; set; }

       /// <summary>
       ///应收日期
       /// </summary>
       [Display(Name ="应收日期")]
       [MaxLength(7)]
       [Column(TypeName="varchar(7)")]
       [Editable(true)]
       public string duedate { get; set; }

       /// <summary>
       ///赛道
       /// </summary>
       [Display(Name ="赛道")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string trackname { get; set; }

       /// <summary>
       ///责任人
       /// </summary>
       [Display(Name ="责任人")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string personliable { get; set; }

       /// <summary>
       ///单位
       /// </summary>
       [Display(Name ="单位")]
       [MaxLength(4)]
       [Column(TypeName="varchar(4)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string unit { get; set; }

       /// <summary>
       ///年初应收
       /// </summary>
       [Display(Name ="年初应收")]
       [MaxLength(1)]
       [Column(TypeName="varchar(1)")]
       [Required(AllowEmptyStrings=false)]
       public string yearearly { get; set; }

       /// <summary>
       ///存量
       /// </summary>
       [Display(Name ="存量")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? stockCategory { get; set; }

       /// <summary>
       ///新增应收开票
       /// </summary>
       [Display(Name ="新增应收开票")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       public decimal? newinvoicereceivable { get; set; }

       /// <summary>
       ///新增应收代垫
       /// </summary>
       [Display(Name ="新增应收代垫")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       public decimal? newreceivablepad { get; set; }

       /// <summary>
       ///新增应收
       /// </summary>
       [Display(Name ="新增应收")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? addCategory { get; set; }

       /// <summary>
       ///应收合计
       /// </summary>
       [Display(Name ="应收合计")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? totalCategory { get; set; }

       /// <summary>
       ///上月存量
       /// </summary>
       [Display(Name ="上月存量")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       public decimal? lastmonthstock { get; set; }

       /// <summary>
       ///存量环比变动
       /// </summary>
       [Display(Name ="存量环比变动")]
       [MaxLength(51)]
       [Column(TypeName="nvarchar(51)")]
       public string stockchange { get; set; }

       /// <summary>
       ///新增含税销售额
       /// </summary>
       [Display(Name ="新增含税销售额")]
       [MaxLength(1)]
       [Column(TypeName="varchar(1)")]
       [Required(AllowEmptyStrings=false)]
       public string newsaletax { get; set; }

       /// <summary>
       ///新增销售回款率
       /// </summary>
       [Display(Name ="新增销售回款率")]
       [MaxLength(1)]
       [Column(TypeName="varchar(1)")]
       [Required(AllowEmptyStrings=false)]
       public string newsalerate { get; set; }

       /// <summary>
       ///年初逾期
       /// </summary>
       [Display(Name ="年初逾期")]
       [MaxLength(1)]
       [Column(TypeName="varchar(1)")]
       [Required(AllowEmptyStrings=false)]
       public string yearoverdue { get; set; }

       /// <summary>
       ///存量逾期
       /// </summary>
       [Display(Name ="存量逾期")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? stockIsOverdue { get; set; }

       /// <summary>
       ///新增逾期开票
       /// </summary>
       [Display(Name ="新增逾期开票")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? stockIsOverdueCushionCushionType { get; set; }

       /// <summary>
       ///新增逾期保税仓代垫
       /// </summary>
       [Display(Name ="新增逾期保税仓代垫")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? stockIsOverdueCushionCushionType1 { get; set; }

       /// <summary>
       ///新增逾期终端代垫
       /// </summary>
       [Display(Name ="新增逾期终端代垫")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? stockIsOverdueCushionCushionType2 { get; set; }

       /// <summary>
       ///逾期合计
       /// </summary>
       [Display(Name ="逾期合计")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? total { get; set; }

       /// <summary>
       ///上月逾期
       /// </summary>
       [Display(Name ="上月逾期")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       public decimal? lastmonthoverdue { get; set; }

       /// <summary>
       ///新增逾期原因
       /// </summary>
       [Display(Name ="新增逾期原因")]
       [MaxLength(1)]
       [Column(TypeName="varchar(1)")]
       [Required(AllowEmptyStrings=false)]
       public string newoverduereson { get; set; }

       /// <summary>
       ///解决措施
       /// </summary>
       [Display(Name ="解决措施")]
       [MaxLength(1)]
       [Column(TypeName="varchar(1)")]
       [Required(AllowEmptyStrings=false)]
       public string solutionmeasure { get; set; }

       
    }
}
